//
//  GamesViewController.h
//  KG
//
//  Created by Eugene Braginets on 26.04.12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@class GameCell;
@class bannerView;
@class Game;
@interface GamesViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>
@property (strong, nonatomic) IBOutlet UILabel *errorMessage;
@property (strong, nonatomic) IBOutlet UITableView *tableView;
@property (strong, nonatomic) IBOutlet UIPickerView *pickerView;
@property (strong, nonatomic) IBOutlet UISegmentedControl *segmentedControl;
@property (strong, nonatomic) IBOutlet GameCell* myCell1;
@property (strong, nonatomic) bannerView* bannerViewController;
@property (strong, nonatomic) IBOutlet UIButton *compLevel;
@property (strong, nonatomic) IBOutlet UIButton *Competitions;
@property (strong, nonatomic) NSArray* games;
@property (strong, nonatomic) NSArray* competitionsList;
@property (strong, nonatomic) NSString* boardItem;
@property (strong, nonatomic) NSString* reqURL;
@property (strong, nonatomic) NSString* reqPanelURL;
@property (strong, nonatomic) NSArray* reqPanels;


@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *activityIndicator;

- (id) initWithItem:(NSString*) item;
- (IBAction)selectCompLevel:(id)sender;
- (IBAction)segmentedControlSwitched:(id)sender;
- (IBAction)selectCompetition:(id)sender;
- (UIButton *) makeDetailDisclosureButton;
@end
